Optimal. Leaf size=83 \[ -\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}+\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}+\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {663, 217, 203} \begin {gather*} -\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}+\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}+\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 217
Rule 663
Rubi steps
\begin {align*} \int \frac {\left (a^2-b^2 x^2\right )^{3/2}}{(a+b x)^4} \, dx &=-\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}-\int \frac {\sqrt {a^2-b^2 x^2}}{(a+b x)^2} \, dx\\ &=\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}+\int \frac {1}{\sqrt {a^2-b^2 x^2}} \, dx\\ &=\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}+\operatorname {Subst}\left (\int \frac {1}{1+b^2 x^2} \, dx,x,\frac {x}{\sqrt {a^2-b^2 x^2}}\right )\\ &=\frac {2 \sqrt {a^2-b^2 x^2}}{b (a+b x)}-\frac {2 \left (a^2-b^2 x^2\right )^{3/2}}{3 b (a+b x)^3}+\frac {\tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 61, normalized size = 0.73 \begin {gather*} \frac {\frac {4 \sqrt {a^2-b^2 x^2} (a+2 b x)}{(a+b x)^2}+3 \tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{3 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.43, size = 80, normalized size = 0.96 \begin {gather*} \frac {4 \sqrt {a^2-b^2 x^2} (a+2 b x)}{3 b (a+b x)^2}+\frac {\sqrt {-b^2} \log \left (\sqrt {a^2-b^2 x^2}-\sqrt {-b^2} x\right )}{b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 110, normalized size = 1.33 \begin {gather*} \frac {2 \, {\left (2 \, b^{2} x^{2} + 4 \, a b x + 2 \, a^{2} - 3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )} \arctan \left (-\frac {a - \sqrt {-b^{2} x^{2} + a^{2}}}{b x}\right ) + 2 \, \sqrt {-b^{2} x^{2} + a^{2}} {\left (2 \, b x + a\right )}\right )}}{3 \, {\left (b^{3} x^{2} + 2 \, a b^{2} x + a^{2} b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 86, normalized size = 1.04 \begin {gather*} \frac {\arcsin \left (\frac {b x}{a}\right ) \mathrm {sgn}\relax (a) \mathrm {sgn}\relax (b)}{{\left | b \right |}} - \frac {8 \, {\left (\frac {3 \, {\left (a b + \sqrt {-b^{2} x^{2} + a^{2}} {\left | b \right |}\right )}}{b^{2} x} + 1\right )}}{3 \, {\left (\frac {a b + \sqrt {-b^{2} x^{2} + a^{2}} {\left | b \right |}}{b^{2} x} + 1\right )}^{3} {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 248, normalized size = 2.99 \begin {gather*} \frac {\arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}}\right )}{\sqrt {b^{2}}}+\frac {\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}\, x}{a^{2}}+\frac {2 \left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {3}{2}}}{3 a^{3} b}-\frac {\left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {5}{2}}}{3 \left (x +\frac {a}{b}\right )^{4} a \,b^{5}}+\frac {\left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {5}{2}}}{3 \left (x +\frac {a}{b}\right )^{3} a^{2} b^{4}}+\frac {2 \left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {5}{2}}}{3 \left (x +\frac {a}{b}\right )^{2} a^{3} b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.08, size = 127, normalized size = 1.53 \begin {gather*} -\frac {{\left (-b^{2} x^{2} + a^{2}\right )}^{\frac {3}{2}}}{3 \, {\left (b^{4} x^{3} + 3 \, a b^{3} x^{2} + 3 \, a^{2} b^{2} x + a^{3} b\right )}} - \frac {2 \, \sqrt {-b^{2} x^{2} + a^{2}} a}{3 \, {\left (b^{3} x^{2} + 2 \, a b^{2} x + a^{2} b\right )}} + \frac {\arcsin \left (\frac {b x}{a}\right )}{b} + \frac {7 \, \sqrt {-b^{2} x^{2} + a^{2}}}{3 \, {\left (b^{2} x + a b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a^2-b^2\,x^2\right )}^{3/2}}{{\left (a+b\,x\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (- \left (- a + b x\right ) \left (a + b x\right )\right )^{\frac {3}{2}}}{\left (a + b x\right )^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________